home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Network AlphaNum PW.xpl < prev    next >
Text File  |  2001-01-06  |  1KB  |  47 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\Security\Passwords"
  5. "NAME"="Alphanumeric Windows Password"
  6. "OSVERSION"="10101"
  7. "VERSION"="1.01"
  8. "LANGUAGE"="VBScript"
  9. "TEXT 1"="Force Alphanumeric Windows Password"
  10. "DESCRIPTION 1"="By default, Windows will accept anything as a password."
  11. "DESCRIPTION 2"="If this option is activated, Windows require a alphanumeric password, a password made from a combination of alpha (A, B, C...) and numeric (1, 2 ,3 ...) characters."
  12. "AUTHOR"="Xteq Systems"
  13. "CONTACTURL"="http://www.xteq.com"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16.  
  17.  
  18.  
  19. sV1="HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Network\AlphanumPwds" 'DW (0 = disabled, 1=enabled)
  20.  
  21. Sub Plugin_Initialize 
  22.  i=RegReadValue(sV1)
  23.  if i=1 then SetUIElement 1,true
  24. End Sub
  25.  
  26. Sub Plugin_CheckData(ElementIndex)
  27. End Sub
  28.  
  29. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  30.  b=GetUIElement(1)
  31.  if b=true then
  32.     Call RegWriteValue(sV1,1,2)
  33.  else
  34.     If RegValueExists(sV1) then Call RegDeleteValue(sV1)
  35.  end if
  36.  
  37.  
  38.  Call Restart
  39. End Sub
  40.  
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.  
  45.  
  46.  
  47.